4D Chart v13

CT SET PROPERTIES

Home

 
4D Chart v13
CT SET PROPERTIES

CT SET PROPERTIES 


 

CT SET PROPERTIES ( area ; printOrder ; changeAlert ; hotlinkType ; saveAlert ) 
Parameter Type   Description
area  Longint in 4D Chart area
printOrder  Integer in Print order 0 = Across 1 = Down -1 = No change
changeAlert  Integer in Graph type change alert 0 = No alert 1 = Alert -1 = No change
hotlinkType  Integer in Obsolete (pass -1)
saveAlert  Integer in Alert box when closing a document 0 = No alert 1 = Alert -1 = No change

The CT SET PROPERTIES command gets the properties that have been set for the specified 4D Chart area.

printOrder is the order in which pages of the document are printed. The print order affects only the order in which the document prints; it does not affect the page orientation.

changeAlert specifies whether the 4D Chart presents an alert box when the user attempts to change the type of a graph. The user has the option to cancel or continue with the change.

The hotlinkType is obsolete (pass -1 to ignore it).

saveAlert specifies whether 4D Chart presents an alert box when the user closes a 4D Chart document with unsaved changes.

  • If saveAlert is equal to 1, 4D Chart presents a standard alert box when the user closes a 4D Chart document with unsaved changes. The alert box gives the user the option of saving the changes, not saving the changes, or returning to the document without closing.
  • If saveAlert is equal to 0, 4D Chart does not save the changes or present an alert to the user. You are responsible for saving the changes. The exception is a 4D Chart area on a form that is being saved into a Picture field; the contents of these areas are automatically saved to the Picture field.

Example  

This example sets no alert for graph type change without changing the other properties.

 CT SET PROPERTIES(Area;-1;1;-1;-1)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Area Control
Number: 14604

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D Chart 2004

 
SEE ALSO 

CT GET PROPERTIES
CT SAVE DOCUMENT